package cn.edu.sjtu.se.dslab.service;

import java.util.List;

import cn.edu.sjtu.se.dslab.component.method.InterfaceMethod;

public interface IInterfaceMethodService {
	
	public boolean addInterfaceMethod(InterfaceMethod interfaceMethod);
	
	public boolean deleteInterfaceMethodById(long id);
	
	public boolean deleteInterfaceMethod(InterfaceMethod interfaceMethod);

	public InterfaceMethod getInterfaceMethodById(long id);

	public List<InterfaceMethod> getAllInterfaceMethod();
	
	public boolean updateInterfaceMethod(InterfaceMethod interfaceMethod);
}
